package com.irdstudio.efp.nls.service.impl.sx.zxruleforbd;

import com.irdstudio.cdp.pboc.service.vo.BdZxInfoVO;
import com.irdstudio.efp.rule.service.vo.ReqBdCreditRuleVo;
import org.apache.commons.lang3.StringUtils;

/**
 * 百度规则接口: <br>
 * <p>
 * 0.1:caoxin:2019/7/10 17:20: T <br>
 * @author caoxin
 * @version 0.1
 * @date 2019/7/10 17:20
 * @since 2019/7/10 17:20
 */
public interface BdZxRuleInterface {
    void executeRule(ReqBdCreditRuleVo reqBdCreditRuleVo,BdZxInfoVO bdZxInfoVO);
    default int getCountAsInt(String count){
        String countStr = StringUtils.isNotEmpty(count)?count:"0";
        return Integer.valueOf(countStr);
    }
}
